<?php
$coursePrice = 'CLASS PRICE';
$courseName = getClassCoursCharLimit($data['class_titile']);
$userDetails = getUserTypeByClassCourse('Classes', $data['classes_id']);
$imagePath = getImagePathByClassCourse('Classes', $data['classes_id']);
$url = $this->createAbsoluteUrl('/workshop-'.$data['classes_id'].'/'.$data['class_seo_title']);
$imageName = (ClassImage::getPrimaryImage($data['classes_id']) != '') ? getRequestbaseUrl() .getuploadFolderDir(). SkillConfig::getClassCourseImagePath($imagePath) . '201X377/' . ClassImage::getPrimaryImage($data['classes_id']) : getWorkNoshopimage(SkillConfig::skill_curetied_home_noimage);
$booknow = ($data['class_type_id'] == CURATED_CLASS_TYPE) ? 'Book Now' : 'Make a Query ';
$priceRange = ClassBatch::findMinMaxPriceByClassbatchforCategoryPage($data['classes_id']);
$trainerResponse = MakeQuery::trainerResponseRate($data['front-user'], $data['backend-user']);
$levelType = classCourseLevelType('Classes', $data['classes_id']);
$locationName = ClassVenue::getLocationNameByVenueId($data['class_venue_id']);
$batchStartDate = date('D, d  M', strtotime($data['start_date']));
?>
<div class="thumbnail"> <a href="<?php echo $url; ?>" ><?php echo '<img src="' . $imageName . '"  alt="' . $courseName . '" id="imgClass" style="height: 323px;">'; ?></a> </div>
